package tgc.edu.exam.repository;

import java.util.List;
import java.util.UUID;

import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import tgc.edu.exam.custom.CommonRepository;
import tgc.edu.exam.entity.TbClass;
import tgc.edu.exam.entity.Teacher;

@Repository
public interface TbClassRepository extends CommonRepository<TbClass, UUID> {



	public List<TbClass> findByClassStatusStateAndIsUsedAndCtypeType(String value, boolean b,String value2);

	public TbClass findByName(String name);

	public TbClass findByTeacherId(Teacher user);

	public List<TbClass> findByTeacherIdUsername(String username);

	public List<TbClass> findByClassStatusId(UUID id);

	public List<TbClass> findByClassStatusStateNot(String string);
}
